projects
/
git-annex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21731b7
)
avoid build warning on windows
author
Joey Hess
<joeyh@joeyh.name>
Fri, 24 Jan 2025 15:33:50 +0000
(11:33 -0400)
committer
Joey Hess
<joeyh@joeyh.name>
Fri, 24 Jan 2025 15:33:50 +0000
(11:33 -0400)
Utility/LockFile/Windows.hs
patch
|
blob
|
history
diff --git
a/Utility/LockFile/Windows.hs
b/Utility/LockFile/Windows.hs
index c8e7c1bf5242bed8f1d404263f490dde7b9a0efa..9f35ec1129bd35f09f106bceee15e4d34fe3645a 100644
(file)
--- a/
Utility/LockFile/Windows.hs
+++ b/
Utility/LockFile/Windows.hs
@@
-75,9
+75,9
@@
openLock sharemode f = do
return $ if h == iNVALID_HANDLE_VALUE
then Nothing
else Just h
-#endif
where
security_attributes = maybePtr Nothing
+#endif
dropLock :: LockHandle -> IO ()
dropLock = closeHandle